package com.peter.pref;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.peter.pref.fragment.MySettingsFragment;
import com.peter.pref.fragment.PrefScreen;

public class MySettingsActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_main);
        getSupportFragmentManager()
                .beginTransaction()
                .replace(R.id.settings_container, new PrefScreen())
                .commit();
    }
}
